package com.example.test17excel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.apache.poi.hssf.usermodel.HSSFPictureData;

import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;

/**
 * @Author: fxy
 * @Date: 2022/04/06/16:27
 * @Description:
 */
@Data
public class User {
    @ExcelProperty("id")
    private String id;

    @ExcelProperty("名字")
    private String name;

    @ExcelProperty("图片")
    private Image image;
}
